package com.neusoft.neu24.nep.controller;

import com.neusoft.neu24.nep.service.INacosConsumerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("c")
public class NacosConsumerController {
    @Autowired
    INacosConsumerService consumerService;

    @RequestMapping("/hello")
    public String hello() {
        return consumerService.hello();
        
    }
}
